<!DOCTYPE html>
<html>
<head>
  <title><%= "#{@category.name} - " unless @category.nil? %>淘旗舰</title>
  <meta name="description" content="淘宝商城品牌直销<%= @category.try :name %>旗舰店导航网站" />
  <meta name="keywords" content="<%= "#{@category.name}, " unless @category.nil? %>淘旗舰, 旗舰导航, 淘品牌, 品牌导航, 淘宝品牌直销导航, 淘宝导航网站, 淘旗舰店铺导航" />
  <%= stylesheet_link_tag 'screen.css', 'application.css' ,:media => "screen, projection" %>
  <!--[if lt IE 8]>
  <%= stylesheet_link_tag 'ie.css' ,:media => "screen, projection" %>
  <![endif]-->
  <%= javascript_include_tag :defaults %>
</head>
<body>
<div class="container">
  <div class="header span-24">
    <a href="http://2gg.info/"><h1>淘旗舰</h1></a>
    <span class="span-8">
    淘旗舰是一个淘宝商城品牌直销店铺导航网站, <%= link_to "更多介绍...", about_path %>
  </span>
    <span class="search_form right">
      <%= form_tag(search_path, :method => 'get') do %>
        <%= text_field_tag :q %>
        <%= submit_tag "搜索" %>
      <% end %>
    </span>
  </div>
  <hr />
  
  <div class="content <%= "shops " if %w[home list].include? action_name %>span-24">
    <%= yield %>
  </div>

  <hr class="prepend-top" />
  <div class="footer span-24">
    <p>
    <%= link_to "首页", root_path %>&nbsp;&nbsp;&nbsp;&nbsp;
    <%= link_to "关于", about_path %>
    </p>
  </div>
</div>
<script type="text/javascript">
  var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
  document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F2c48dec016965732787cd06bd6ffe686' type='text/javascript'%3E%3C/script%3E"));
</script>
<!-- Baidu Button BEGIN -->
<script type="text/javascript" id="bdshare_js" data="type=slide&amp;mini=1&amp;img=2&amp;uid=160068" ></script>
<script type="text/javascript" id="bdshell_js"></script>
<script type="text/javascript">
        var bds_config = {'bdTop':10,'bdText':'我发现了一个挺不错的淘宝店铺商城导航网站,里面全都是大品牌的官方旗舰店,还可以按销量排序查看店铺!'};
        document.getElementById("bdshell_js").src = "http://share.baidu.com/static/js/shell_v2.js?t=" + new Date().getHours();
</script>
<!-- Baidu Button END -->
</body>
</html>
